package com.nabi.library.contents
{
	import com.nabi.library.contents.elements.page.PageList;

	public class Contents
	{
		private var m_type:String;
		private var m_pageList:PageList;
		
		public function Contents($type:String = "")
		{
			m_type = $type;
			init();
		}
		
		private function init(): void
		{
			m_pageList = new PageList();
		}
		
		public function GetType(): String { return m_type; }
		
		public function SetType($type:String): void
		{
			m_type = $type;
		}
		
		public function GetTotalPage(): int { return m_pageList.GetTotalPageLength(); }
	}
}